import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

// 路由配置
const routes = [
    {
        path: "/",
        name: "index",
        component: () => import("@/App.vue")
    }
]

// 注册实例
const router = new VueRouter({
  routes,
})

export default router;